<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
	<meta http-equiv="x-ua-compatible" content="ie=edge" />
	<meta name="google-site-verification" content="qQlzC6go9gvAGURqWjjNA3TtJPkAvzoiP2vGtlfNb2A" />
	<meta name="msvalidate.01" content="89359D9C492A475C0061398008D105FB" />
	
	<!-- seo !-->
	<meta name="description" content="Html Agility Pack - {{ page.title }}" />
	<meta name="keywords" content="html parser" />
	<title>Html Agility Pack - {{ page.title }}</title>
    
	<!-- icon/css !-->
	<link rel="icon" type="image/png" href="http://entityframework-plus.net/images/logo.png" />
	<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" integrity="sha384-rwoIResjU2yc3z8GV/NPeZWAv56rSmLldC3R/AZzGRnGxQQKnKkoFVhFQhNUwEyJ" crossorigin="anonymous">
	<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" />
	<link rel="stylesheet" href="{{ site.github.url }}/css/main_css_file.css">
 </head>
  <body>
<style>
header .overflow-y {
	height: 600px;
	padding-right: 10px;
	overflow-y: scroll;
}
	  </style>
	
	<!-- header !-->
	<header class="fixed-top">

		<!-- header-lg-up !-->
		<div class="header-lg-up hidden-md-down">
			
			<!-- header-site !-->
			<div class="header-site">
			
				<nav class="navbar navbar-toggleable-md">
				
					<!-- navbar-brand !-->
					<div class="navbar-brand">
						<a href="{{ site.github.url }}/">
							<img src="images/logo.png" />
							<span class="text-red">Html</span> Agility Pack
						</a>
					</div>
					
					<!-- navbar-menu !-->
					<div class="navbar-menu navbar-collapse justify-content-end">			
						<ul class="navbar-nav">
							<li class="nav-item">
								<a class="nav-link" href="{{ site.github.url }}/tutorials"><i class="fa fa-book" aria-hidden="true"></i>&nbsp;Tutorials</a>
							</li>
							<li class="nav-item">
								<a class="nav-link" href="https://github.com/zzzprojects/html-agility-pack"><i class="fa fa-github" aria-hidden="true"></i>&nbsp;GitHub</a>
							</li>
							<li class="nav-item">
								<a class="nav-link" href="http://www.zzzprojects.com/contribute" target="_blank"><i class="fa fa-users" aria-hidden="true"></i>&nbsp;Donate</a>
							</li>
							<li class="nav-item">
								<a class="nav-link" href="{{ site.github.url }}/contact-us"><i class="fa fa-envelope" aria-hidden="true"></i>&nbsp;Contact</a>
							</li>
							<li class="nav-item nav-item-download">
								<a class="btn btn-success btn-lg" href="https://www.nuget.org/packages/HtmlAgilityPack" target="_blank" role="button" onclick="ga('send', 'event', { eventAction: 'download'});"><i class="fa fa-cloud-download"></i>&nbsp;Download</a>
							</li>
						</ul>
					</div>					
				</nav>
			
			</div>
			
			<!-- header-context !-->
			<div class="header-context">
			
				<nav class="navbar navbar-inverse bg-inverse navbar-toggleable-md">
					<div class="collapse navbar-collapse">
						<ul class="navbar-nav">
							{% if page.path == "index.md" %} <li class="nav-item active"> {% else %} <li class="nav-item"> {% endif %}
								<a class="nav-link" href="{{ site.github.url }}/"><i class="fa fa-home" aria-hidden="true"></i></a>
							</li>	 
							{% if page.path contains "/api/" %} <li class="nav-item active"> {% else %} <li class="nav-item"> {% endif %}					
								<a class="nav-link" href="api">API</a>
							</li>
							{% if page.path contains "/thirdpartylibraries/" %} <li class="nav-item active"> {% else %} <li class="nav-item"> {% endif %}					
								<a class="nav-link" href="third-party-library">3<sup>rd</sup>&nbsp;Party Library</a>
							</li>
						</ul>
					</div>
				</nav>
				
			</div>
			
		</div>
		
		<!-- header-md-down !-->
		<div class="header-md-down hidden-lg-up">
		
			<!-- header-brand !-->
			<div class="header-brand">
				<a href="{{ site.github.url }}">
					<img src="images/logo.png" />
					<span class="text-red">Html</span> Agility Pack
					
				</a>
			</div>
			
			<!-- header-navbar !-->
			<nav class="navbar navbar-inverse bg-inverse navbar-toggleable-md">
			
				<!-- nav-context !-->
				<button class="navbar-toggler navbar-toggler-left" type="button" data-toggle="collapse" data-target="#nav-context" aria-controls="nav-context" aria-expanded="false" aria-label="Toggle navigation">
					<span class="navbar-toggler-icon"></span>
				</button>
				
				<!-- nav-site !-->
				<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#nav-site" aria-controls="nav-site" aria-expanded="false" aria-label="Toggle navigation">
					<span class="navbar-toggler-icon"></span>
				</button>
				
				<div id="nav-context" class="navbar-collapse collapse">	
					<div class="overflow-y">
					{% include aside.html %}
					</div>
				</div>
				
				<div id="nav-site" class="navbar-collapse collapse">			
					<ul class="navbar-nav mr-auto">
						<li class="nav-item nav-item-download">
							<a class="btn btn-success btn-lg" href="https://www.nuget.org/packages/HtmlAgilityPack" target="_blank" role="button" onclick="ga('send', 'event', { eventAction: 'download'});"><i class="fa fa-cloud-download"></i>&nbsp;Download</a>
						</li>
					</ul>
				</div>
				
			</nav>
	
		</div>
	</header>

	<div style="height: 140px;"></div>
	  
	<div class="container-fluid">
		<div class="row" style="min-height: 800px;">

{% if page.path != "index.md" %}
			<div class="col-lg-2 hidden-md-down">
				<aside>
	{% include aside.html %}
				</aside>
			</div>
			<div class="col-lg-7">
				<br />
{% if page.path != "pages/tutorials.md" %}
				<div id="banner-leaderboard"><a href='http://entityframework-extensions.net/?z=hap&y=leaderboard'><img src='{{ site.github.url }}/images/banners/entityframework-extensions-728x90.jpg'></a></div>
{% endif %}				
				<br />
				<article>
	{% for num in (0..site.data.pages.size) %}
	    {% assign page2 = site.data.pages[num] %}
	    {% if page2.url == page.permalink %}
		{% assign next_i = forloop.index0 | plus: 1 %}
		{% assign prev_i = forloop.index0 | minus: 1 %}

		{% if next_i == site.data.pages[num] %}
		    {% assign next_i = 1 %}
		{% endif %}
	    {% endif %}
	{% endfor %}

					
{{ content }}
					
{% include template-related.html %}

<nav class="pagination row">
    <div class="previous col flex-first">
        <a href="{{ site.data.pages[prev_i].url }}" class="btn btn-primary" role="button">Previous</a>
    </div>
    <div class="next col flex-last text-right">
        <a href="{{ site.data.pages[next_i].url }}" class="btn btn-primary" role="button">Next</a>
    </div>
</nav>		
			</article>
		</div>
			
		<div class="col-lg-3 hidden-md-down">
			<br /><br /><br /><br /><br /><br />
			
{% if page.path != "pages/tutorials.md" %}
			<div id="banner-halfpage"><a href='http://entityframework-extensions.net/?z=hap&y=halfpage'><img src='{{ site.github.url }}/images/banners/entityframework-extensions-160x600.jpg'></a></div>
{% endif %}			
			
			<br /><br /><br /><br /><br />
			

			</div>
{% else %}
			<div class="col-sm-1"></div>
			<div class="col-sm-10"><br /><br />{{ content }}</div>
			<div class="col-sm-1"></div>	
{% endif %}
			
	</div>
	</div>

	<footer class="bg-gray">
		<div class="container-fluid">
			<div class="row">
				<div class="col-md-7">
					&nbsp;Powered by <a href="http://entityframework-extensions.net/">Entity Framework Extensions</a>
					<hr class="hidden-md-up" />
				</div>
				<div class="col-md-4">
					<h2 class="text-primary"><i class="fa fa-envelope-open" aria-hidden="true"></i>&nbsp;Subscribe to our mailing list</h2>
					<p class="font-italic">Get latest updates/tips/tricks on Dapper by subscribing to our mailing list.</p>
					<form action="//zzzprojects.us9.list-manage.com/subscribe/post?u=cecbc4775cf67bf1ff82018af&amp;id=4765ffa5f8" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
						<div id="mc_embed_signup_scroll">
							<div class="form-group">
								<label for="EMAIL" class="form-label">Email Address  <span class="asterisk">*</span></label>
								<input type="email" value="" name="EMAIL" class="required form-control" id="mce-EMAIL" placeholder="Enter email">
							</div>
							<div id="mce-responses" class="clear">
								<div class="response" id="mce-error-response" style="display:none"></div>
								<div class="response" id="mce-success-response" style="display:none"></div>
							</div>
							<div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_cecbc4775cf67bf1ff82018af_8ca8f002d2" tabindex="-1" value=""></div>
							<div class="clear">
							<input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="btn btn-primary"></div>
						</div>
					</form>
				</div>
			</div>
		</div>
	</footer>
   
<style>
footer {
	padding: 20px;
	background-color: #eceeef;
}
</style>

<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-55584370-12', 'auto');
  ga('send', 'pageview');
</script>

    <script src="https://code.jquery.com/jquery-3.1.1.slim.min.js" integrity="sha384-A7FZj7v+d/sdmMqp/nOQwliLvUsJfDHW+k9Omg/a/EheAdgtzNs3hpfag6Ed950n" crossorigin="anonymous"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.4.0/js/tether.min.js" integrity="sha384-DztdAPBWPRXSA/3eYEEUWrWCy7G5KFbe8fFjk5JAIxUYHKkDx6Qin1DkWx51bBrb" crossorigin="anonymous"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/js/bootstrap.min.js" integrity="sha384-vBWWzlZJ8ea9aCX4pEW3rVHjgjt7zpkNpZk+02D9phzyeVkE+jo0ieGizqPLForn" crossorigin="anonymous"></script>
 
<script>
$(function() {
  $("table").addClass("table table-hover table-striped table-responsive");
  $("thead").addClass("thead-inverse");
	
	var pathname = window.location.href;

	$('aside a').each(function() {
		if ($(this).attr('href') == pathname || 'http://www.sqlbulkcopy-tutorial.net/' + $(this).attr('href') == pathname)
		{
			$(this).addClass('font-weight-bold');
		}
	});
});
</script>
<script>
function setBanner() {
	var leaderboard = $("#banner-leaderboard");
	var halfpage = $("#banner-halfpage");
	
	var random = Math.floor((Math.random() * 100) + 1);
	
	if(leaderboard.length == 1 && halfpage.length == 1) {
		var banner1 = "<a href='http://entityframework-extensions.net/?z=hap&y=[banner-name]'><img src='{{ site.github.url }}/images/banners/entityframework-extensions-[banner-size].jpg'></a>";
		var banner2 = "";
		if(random % 3 == 0){
			banner2 = "<a href='http://eval-expression.net/?z=hap&y=[banner-name]'><img src='{{ site.github.url }}/images/banners/csharp-eval-[banner-size].jpg'></a>";
		}
		else if (random % 3 == 1) {
			banner2 = "<a href='http://dapper-plus.net/?z=hap&y=[banner-name]'><img src='{{ site.github.url }}/images/banners/dapper-plus-[banner-size].jpg'></a>";
		}
		else {
			banner2 = "<a href='http://eval-sql.net/?z=hap&y=[banner-name]'><img src='{{ site.github.url }}/images/banners/sql-eval-[banner-size].jpg'></a>";
		}
			
		if(random <= 50) {
			leaderboard.html(banner1.replace("[banner-name]", "leaderboard").replace("[banner-size]", "728x90"));
			halfpage.html(banner2.replace("[banner-name]", "halfpage").replace("[banner-size]", "160x600"));
		}
		else {
			leaderboard.html(banner2.replace("[banner-name]", "leaderboard").replace("[banner-size]", "728x90"));
			halfpage.html(banner1.replace("[banner-name]", "halfpage").replace("[banner-size]", "160x600"));			
		}
	}
}

setBanner();
</script>
<style>
#banner-leaderboard, 
#banner-halfpage {
	text-align: center;
}
	
#banner-leaderboard img, 
#banner-halfpage img {
	border: 1px solid #000; 
}
</style>
</body>
</html>
